package com.skwyb.form.constants;

/**
 * Created by Administrator on 2017/3/8.
 */
public interface Constants {

    interface Page {
        Integer PAGE_ZERO = 0;

        Integer PAGE_NO = 1;

        Integer PAGE_SIZE = 10;
    }

    interface SessionKey {
        String USER_SESSION_KEY = "USER_SESSION_KEY";

        String ADMIN_SESSION_KEY = "ADMIN_SESSION_KEY";
    }

    interface YesOrNo {
        String YES = "1";

        String NO = "2";

        int YES_INT = 1;

        int NO_INT = 2;
    }

    interface UserType {
        Integer ADMIN = 1;

        Integer USER = 2;
    }
}
